package com.example.day10;

/**
 * @author Lenovo
 */
public class Demo {
    class Fu {
        int num = 10;
    }
    class Zi{
        int num = 20;
        public void show(){
            int num = 30;
            System.out.println(num);
        }
    }
    public class Demo2{
        public static void main(String[] args) {
            Demo.Zi zi = new Demo().new Zi();
            zi.show();
            System.out.println(zi.num);
        }
    }
}
